package com.briup.interfaces;

import com.briup.entity.Environment;
import com.briup.exception.EnvException;

import java.io.IOException;
import java.util.Collection;

/**
 * 采集模块的主体功能
 */
public interface Gather extends EnvironmentModule{
    /**
     * 通过采集数据清单的内容，得到一个Environment的实体类集合
     *
     * @return
     * @throws EnvException
     */
    public Collection<Environment> gather() throws EnvException, IOException;

}
